﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSetTopPages" targetNamespace="http://tempuri.org/DataSetTopPages.xsd" xmlns:mstns="http://tempuri.org/DataSetTopPages.xsd" xmlns="http://tempuri.org/DataSetTopPages.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="SharePointOptimizerConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="SharePointOptimizerConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.SharePointOptimizer.PL.WPF.Properties.Settings.GlobalReference.Default.SharePointOptimizerConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TopPagesTableAdapter" GeneratorDataComponentClassName="TopPagesTableAdapter" Name="TopPages" UserDataComponentName="TopPagesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="SharePointOptimizerConnectionString (Settings)" DbObjectName="SharePointOptimizer.dbo.TopPages" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.TopPages</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DisplayName" DataSetColumn="DisplayName" />
              <Mapping SourceColumn="URL" DataSetColumn="URL" />
              <Mapping SourceColumn="MaximumDuraion" DataSetColumn="MaximumDuraion" />
              <Mapping SourceColumn="AverageDuration" DataSetColumn="AverageDuration" />
              <Mapping SourceColumn="MinimumDuration" DataSetColumn="MinimumDuration" />
              <Mapping SourceColumn="MaximumDatabseQueries" DataSetColumn="MaximumDatabseQueries" />
              <Mapping SourceColumn="AverageDatabaseQueries" DataSetColumn="AverageDatabaseQueries" />
              <Mapping SourceColumn="MinimumDatabaseQueries" DataSetColumn="MinimumDatabaseQueries" />
              <Mapping SourceColumn="NumberRequests" DataSetColumn="NumberRequests" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSetTopPages" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DataSetTopPages" msprop:Generator_UserDSName="DataSetTopPages">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="TopPages" msprop:Generator_TableClassName="TopPagesDataTable" msprop:Generator_TableVarName="tableTopPages" msprop:Generator_TablePropName="TopPages" msprop:Generator_RowDeletingName="TopPagesRowDeleting" msprop:Generator_UserTableName="TopPages" msprop:Generator_RowChangingName="TopPagesRowChanging" msprop:Generator_RowEvHandlerName="TopPagesRowChangeEventHandler" msprop:Generator_RowDeletedName="TopPagesRowDeleted" msprop:Generator_RowEvArgName="TopPagesRowChangeEvent" msprop:Generator_RowChangedName="TopPagesRowChanged" msprop:Generator_RowClassName="TopPagesRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DisplayName" msprop:Generator_ColumnVarNameInTable="columnDisplayName" msprop:Generator_ColumnPropNameInRow="DisplayName" msprop:Generator_ColumnPropNameInTable="DisplayNameColumn" msprop:Generator_UserColumnName="DisplayName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="URL" msprop:Generator_ColumnVarNameInTable="columnURL" msprop:Generator_ColumnPropNameInRow="URL" msprop:Generator_ColumnPropNameInTable="URLColumn" msprop:Generator_UserColumnName="URL">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="300" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MaximumDuraion" msprop:Generator_ColumnVarNameInTable="columnMaximumDuraion" msprop:Generator_ColumnPropNameInRow="MaximumDuraion" msprop:Generator_ColumnPropNameInTable="MaximumDuraionColumn" msprop:Generator_UserColumnName="MaximumDuraion" type="xs:double" minOccurs="0" />
              <xs:element name="AverageDuration" msprop:Generator_ColumnVarNameInTable="columnAverageDuration" msprop:Generator_ColumnPropNameInRow="AverageDuration" msprop:Generator_ColumnPropNameInTable="AverageDurationColumn" msprop:Generator_UserColumnName="AverageDuration" type="xs:double" minOccurs="0" />
              <xs:element name="MinimumDuration" msprop:Generator_ColumnVarNameInTable="columnMinimumDuration" msprop:Generator_ColumnPropNameInRow="MinimumDuration" msprop:Generator_ColumnPropNameInTable="MinimumDurationColumn" msprop:Generator_UserColumnName="MinimumDuration" type="xs:double" minOccurs="0" />
              <xs:element name="MaximumDatabseQueries" msprop:Generator_ColumnVarNameInTable="columnMaximumDatabseQueries" msprop:Generator_ColumnPropNameInRow="MaximumDatabseQueries" msprop:Generator_ColumnPropNameInTable="MaximumDatabseQueriesColumn" msprop:Generator_UserColumnName="MaximumDatabseQueries" type="xs:int" minOccurs="0" />
              <xs:element name="AverageDatabaseQueries" msprop:Generator_ColumnVarNameInTable="columnAverageDatabaseQueries" msprop:Generator_ColumnPropNameInRow="AverageDatabaseQueries" msprop:Generator_ColumnPropNameInTable="AverageDatabaseQueriesColumn" msprop:Generator_UserColumnName="AverageDatabaseQueries" type="xs:int" minOccurs="0" />
              <xs:element name="MinimumDatabaseQueries" msprop:Generator_ColumnVarNameInTable="columnMinimumDatabaseQueries" msprop:Generator_ColumnPropNameInRow="MinimumDatabaseQueries" msprop:Generator_ColumnPropNameInTable="MinimumDatabaseQueriesColumn" msprop:Generator_UserColumnName="MinimumDatabaseQueries" type="xs:int" minOccurs="0" />
              <xs:element name="NumberRequests" msprop:Generator_ColumnVarNameInTable="columnNumberRequests" msprop:Generator_ColumnPropNameInRow="NumberRequests" msprop:Generator_ColumnPropNameInTable="NumberRequestsColumn" msprop:Generator_UserColumnName="NumberRequests" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TopPages" />
      <xs:field xpath="mstns:URL" />
    </xs:unique>
  </xs:element>
</xs:schema>